//---------------------------------------------------------------------------

#ifndef PROSM_PERESHH
#define PROSM_PERESHH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "Shablon_Edit.h"
#include <ExtCtrls.hpp>
#include "cxClasses.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxDBData.hpp"
#include "cxFilter.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridDBTableView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxStyles.hpp"
#include <DB.hpp>
#include "cxButtons.hpp"
#include <ActnList.hpp>
#include <Menus.hpp>
#include <DBCtrls.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrPROSM_PERESH : public TfrShablon_Edit
{
__published:	// IDE-managed Components
	TcxGrid *sgPROSM_PERESH;
	TcxGridDBTableView *sgPROSM_PERESHDBTableView1;
	TcxGridLevel *sgPROSM_PERESHLevel1;
	TcxGridDBColumn *NOM_ABON;
	TcxGridDBColumn *GOD;
	TcxGridDBColumn *MES;
	TcxGridDBColumn *SUM;
	TcxGridDBColumn *TARIF;
	TcxGridDBColumn *KUB;
	TcxGridDBColumn *PR_PERSH;
	TcxGridDBColumn *DAT_WOD;
	TcxGridDBColumn *cxgrdbclmnKOD_OPERAT;
	TcxButton *cxButton1;
	TActionList *ActionList1;
	TcxButton *cxButton3;
	TcxButton *cxButton4;
	TAction *POISK;
	TAction *EDIT;
	TAction *DEL;
	TAction *ITOG;
	TLabel *Label2;
	TDBText *labNOM_DOG;
	TLabel *Label1;
	TDBText *labDATA_DOG;
	TLabel *Label3;
	TDBText *labFIO;
	TLabel *Label4;
	TLabel *Label8;
	TDBText *labTARIF;
	TLabel *Label5;
	TLabel *labDAT_PER;
	TLabel *Label6;
	TLabel *Label7;
	TDBLookupComboBox *cbPR_PERESH;
	TLabel *Label9;
	TEdit *edPRIM;
	TcxButton *btSAVE;
	TAction *SAVE;
	TDBText *labITOG;
	TDBText *labADRES;
	TcxGridDBColumn *PRIM;
	TEdit *edSUM;
	TDBLookupComboBox *cbVID_ITOG;
	TIBCQuery *dsetSPISOK_ITOG;
	TIBCDataSource *dsSPISOK_ITOG;
	void __fastcall FormKeyPress(TObject *Sender, char &Key);
	void __fastcall POISKExecute(TObject *Sender);
	void __fastcall sgPROSM_PERESHDBTableView1CellDblClick(
          TcxCustomGridTableView *Sender,
          TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
          TShiftState AShift, bool &AHandled);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall SAVEExecute(TObject *Sender);
	void __fastcall DELExecute(TObject *Sender);
	void __fastcall ITOGExecute(TObject *Sender);
	void __fastcall cbVID_ITOGKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
private:	// User declarations
public:		// User declarations
int Stat,NOM,St;
String MONTH,YEAR;
	__fastcall TfrPROSM_PERESH(TComponent* Owner);
	 void __fastcall TfrPROSM_PERESH::Obnovi();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrPROSM_PERESH *frPROSM_PERESH;
//---------------------------------------------------------------------------
#endif
